﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ResourceTypeConfigurationApp
{
    public partial class fmMain : Form
    {
        public fmMain()
        {
            InitializeComponent();
        }

        private void btnNewSite_Click(object sender, EventArgs e)
        {
            fmNewSite fm = new fmNewSite();
            fm.ShowDialog();
        }

        private void btnNewDevice_Click(object sender, EventArgs e)
        {
            fmNewDevice fm = new fmNewDevice();
            fm.ShowDialog();
        }

        private void btnNewType_Click(object sender, EventArgs e)
        {
            fmNewType fm = new fmNewType();
            fm.ShowDialog();
        }

        private void btnNewResourceObject_Click(object sender, EventArgs e)
        {
            fmNewResourceObject fm = new fmNewResourceObject();
            fm.ShowDialog();
        }

        private void btnNewResourceDevice_Click(object sender, EventArgs e)
        {
            fmNewResourceDevice fm = new fmNewResourceDevice();
            fm.ShowDialog();
        }

        private void btnNewSiteAndDevice_Click(object sender, EventArgs e)
        {
            fmNewSiteAndDevice fm = new fmNewSiteAndDevice();
            fm.ShowDialog();
        }

        private void btnNewResourceObjectAndDevice_Click(object sender, EventArgs e)
        {
            fmNewResourceObjectAndDevice fm = new fmNewResourceObjectAndDevice();
            fm.ShowDialog();
        }

        private void btnCompanyData_Click(object sender, EventArgs e)
        {
            fmCompanyData fm = new fmCompanyData();
            fm.ShowDialog();
        }
    }
}
